@charset 'utf-8';

header{
    background: url(../img/train_img/background_01.jpg) center center no-repeat;
    background-size: 1923px 750px;
    padding-bottom: 180px;
}

@media screen and(max-width:410px){
    header{
        background: none;
        background-color: black;
    }
}

@media screen and (max-width: 353px){                  
 nav .logo img{
        margin-left: -35px;
    }
   
}

nav{
    height: 96px;
    background: rgba(1,2,3,0.5);
    border-bottom: 2px solid #333333;
    .nav-items{
        width: 81px;
        height: 96px;
        margin: 0 35px;      
        a{
            display: inline-block;
            width: 81px;
            height: 100%;
            line-height: 96px;
            text-align: center;
            color: #d4d4d5;
            font-size: 17px;
        }
    }
    .nav-items:nth-last-child(2){
        margin-right: 0;
    }
    .nav-items:first-of-type{
        position: relative;
    }
    
}

.dropdown{
    a{
        text-decoration: none;
    }
}

.dropdown-menu{
    li{
        a{
            width: 100%;
            color: black;
            padding: 0;
        }
    }
   
   
}

@media screen and (max-width:768px){
    .drop-menu-btn::after{
        display: inline-block;
    }
}

.paragraph{
    margin-top: 116px;
    p:first-of-type{
        font-size: 11px;
        color: #7f7f7f;
        font-variant: small-caps;
    }
    h4{
        font-size: 39px;
        color: white;
        margin-top: 29px;
    }
    
    p:nth-of-type(2){
        font-size: 15px;
        color: #a3a3a3;
        margin-top: 56px;
    }
}

@media screen and (max-width:768px){
    .paragraph{
        text-align: center;
    }
}


.spread{
    background: url(../img/train_img/background_02.jpg) center center no-repeat;
    background-size: 1920px 629px;
    padding-bottom: 100px;
    p{
        margin-top: 55px;
        font-size: 13px;
        font-variant: small-caps;
        color: #414141;
    }
    
    h4{
        margin-top: 21px;
        font-size: 31px;
        color: #333333;
    }
    
    ul{
        margin-top: 43px;
        margin-left: -25px;
        list-style: none;
        li{  
            position: relative;        
            span{
               display: inline-block;
               color: #525252; 
               border-radius: 25px;
               background: #00324a;
               font-size: 18px;
               padding: 16px 57px;
            }
        }
        
        li::before{
            position: absolute;
            left: 22px;
            top: 24px;
            content: '';
            display: inline-block;
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
        }
        
        li:first-of-type{
           span{
              color: white;
           }
        }

        li:first-of-type~li{
           span{
             background: transparent;
           }
        }
        
        li:first-of-type~li::before{
            background: #00324a;
        }
    }
}

@media screen and(max-width:768px){
    .spread{
        background-size: 1923px 100%;
    }
}

@media screen and(max-width:410px){
    .spread{
        background: none;
        background-color: #dcdcdc;
    }
}

.star{
    padding-bottom: 70px;
    .star-img{
        margin-top: 172px;
    }
    
    .content{
       margin-top: 231px; 
    }
    
    p:first-of-type{
        margin-bottom: 0;
        font-size: 13px;
        color: #7f7f7f;
        font-variant: small-caps;
    }
    
    h4{
        margin-bottom: 0;
        font-weight: normal;
        font-size: 30px;
        color: #343c4c;
        margin-top: 26px;
    }
    
    p:nth-of-type(2){
        margin-top: 71px;
        margin-bottom: 0;
        font-size: 15px;
        color: #343c4c;
    }
    
    h5{
        margin-top: 55px;
        font-weight: normal;
        font-size: 15px;
        color: #343c4c;
    }
    
    .line{
        width: 50%;
        border-top: 1px solid #ebebeb;
        margin: 0 auto;
        margin-top: 128px;
    }
}


@media screen and (max-width:992px){
    .star{
        .star-img{
           margin-left: auto;
           margin-right: auto;  
           img{
               margin: 0 auto;
           }
         }
    
        .content{
            margin-left: auto;
            margin-right: auto; 
            text-align: center;
            margin-top: 50px;
        }
    }
}


.marketing{
    padding-bottom: 124px;
    .title{
       p:first-of-type{
           font-size: 13px;
           font-variant: small-caps;
           color: #898989;
       }
       h4{
           text-align: center;
           font-size: 30px;
           font-weight: normal;
           color: #333333;
       }
       
       p:nth-of-type(2){
           font-size: 16px;
           color: #333333;
           margin-bottom: 0px;
       }
    }
    
    .cards{
        margin-top: 86px;
    }
    
    .item{ 
        box-shadow: 2px 2px 8px #e7e7e7, -2px -2px 8px #e7e7e7; 
        height: 483px;
        .imgwrap{
            width: 100%;
            height: 260px;
            padding: 9px 9px 0 9px;
        }
        
        .icon-wrap{
          width: 107px;
          height: 107px;
          margin: 0 auto;
          border: 6px solid white;
          border-radius: 50%;
          box-shadow: 2px 2px 8px #f5f5f5,-2px -2px 8px #f5f5f5;
          img{  
              width: 100%;
              height: 100%;
              padding: 28px;
          } 
        }
        .icon-wrap-1{
            background: #1ba1e0;
        }
        .icon-wrap-2{
            background: #c31ded;
        }
        .icon-wrap-3{
            background: #fad60c;
        }
    }
    
    .item-wrap{
        display: flex;
    }
    
    p{
        text-align: center;
        font-size: 25px;
        color: #333333;
        margin-top: 29px;
    }
}


@media screen and (max-width: 1200px){
   .marketing .item{
       width: 330px;
       height: 420px;
        .imgwrap{
           height: 220px;
           img{
               width: 100%;
           }
       }
    }
}

@media screen and (max-width: 992px){
   .marketing .item{
       width: 250px;
       height: 250px;
       margin: 0 auto;
       margin-bottom: 20px;
       .imgwrap{
           height: 160px;
           img{
               width: 100%;
           }
       }
       .icon-wrap{
          display: none;
       }
       p{
           font-size: 16px;
           margin-top: 15px;
       }
   }
}

@media screen and (max-width: 768px){
   .marketing .item{
       width: 330px;
       height: 290px;
       margin: 0 auto;
       margin-bottom: 20px;
       .imgwrap{
           height: 200px;
           img{
               width: 100%;
           }
       }
       .icon-wrap{
          display: none;
       }
       p{
           font-size: 16px;
           margin-top: 15px;
       }
   }
}





.block-group{
    background: #f0f0f1;
    padding-top: 100px;
   .block{
       width: 300px;
       height: 256px;
       background-color: white;
       position: relative;  
       margin: 0 auto;
       margin-bottom: 20px;
       margin-left: 0;
       margin-right: 0;
       padding: 0;
       h6{
           font-size: 15px;
           color: #343c4c;
           position: absolute;
           left: 30px;
           top: 13px;
        }
        img{
            position: absolute;
            left: -1px;
            right: -1px;
            top: -1px;
            bottom: -1px;
            margin:  auto;
        }
   }

   .block-5{
       background:#343c4c;
        h6{
             color: white;
        }
   }
   
   .block-6{
       padding-top: 81px;
       padding-left: 99px;
   }
 
}



@media screen and (min-width: 1200px){
    .block-group .block-1{
        margin-left: 65px;
    }
    
    .block-group .block-3{
        margin-left: -65px;
    }
    
    .block-group .block-4{
        margin-left: 65px;
    }
    
    .block-group .block-6{
        margin-left: -65px;
    }
}

@media screen and (min-width: 1200px){
    .block-group .block-1{
        margin-left: 65px;
    }
    
    .block-group .block-3{
        margin-left: -65px;
    }
    
    .block-group .block-4{
        margin-left: 65px;
    }
    
    .block-group .block-6{
        margin-left: -65px;
    }
}

@media screen and (max-width: 992px){
    .block-group .block-1,
    .block-group .block-3,
    .block-group .block-5{
        margin-left: 25px;
    }
    
    .block-group .block-2,
    .block-group .block-4,
    .block-group .block-6{
        margin-left: -25px;
    }
}


@media screen and (max-width: 768px){
    .block-group .block{
        width: 225px;
        height: 230px;
    }
    .block-group .block-1,
    .block-group .block-2,
    .block-group .block-3,
    .block-group .block-4,
    .block-group .block-5,
    .block-group .block-6{
        margin: 0 auto;
        margin-bottom: 20px;
    }
 
}

@media screen and (max-width: 460px){
    .block-group .block{
        width: 130px;
        height: 170px;
        h6{
            font-size: 14px;
            left: 10px;
            top: 0;
        }
        img{
            width: 80%;
        }
    }
}

@media screen and (max-width: 320px){
    .block-group .block-1,
    .block-group .block-2,
    .block-group .block-3,
    .block-group .block-4,
    .block-group .block-5,
    .block-group .block-6{
        margin-bottom: 20px;
        margin-left: -5px;
    }
 
}


.media-buying{
    background: url(../img/train_img/background_03.png)no-repeat;
    background-position: bottom;
    background-color: #03060b;
    padding-bottom: 170px;
   .title{
       text-align: center;
       margin-top: 161px;
       
       p:first-of-type{
           font-size: 12px;
           color: #696969;
       }
       h4{
           font-size: 41px;
           color: white;
       }
       p:last-of-type{
           font-size: 17px;
           color: #a5a5a6;
           margin-top: 81px;
           margin-bottom: 63px;
       }
   }
   
   .media-item{
       width: 330px;
       height: 186px;
       background: #42404b;
       text-align: center;
       border-radius: 18px;
       h4{
           padding-top: 59px;
           font-size: 35px;
           color: white;
           sub{
               font-size: 27px;
           }
       }
       p{
           font-size: 16px;
           color: #67666a;
       }
   }
}

@media screen and (max-width: 1200px){
    .media-buying .media-item{
        margin: 0 auto;
    }
}

@media screen and (max-width: 345px){
    .media-buying .media-item{
        width: 300px;
        margin-left: -5px;
        
    }
}

.last-part{
    p{
        text-align: center;
        font-size: 16px;
        color: #596a8c;
    }

   .item{
       width: 44px;
       height: 44px;
       margin: 0 auto;
       img{
          width: 100%;
       }
   }
   
  
}

.item-group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    .item{
        margin-right: 14px;
    }
}

.one{
    margin-top: 90px;
}

.two{
    margin-top: 32px;
}

.three{
    margin-top: 62px;
}

.four{
    margin-top: 32px;
}

.five{
    margin-top: 62px;
}

.six{
    margin-top: 32px;
}

.seven{
     margin-top: 62px;
}

.eight{
     margin-top: 32px;
}

@media screen and (max-width:375px){
    .six,.eight{
        justify-content: flex-start;
    }
    
}
